package com.practice.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.practice.common.result.Result;
import com.practice.pojo.admin.dto.AdvimgDTO;
import com.practice.pojo.admin.dto.AdvimgPageDTO;
import com.practice.pojo.admin.entity.Advimg;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itcast
 * @since 2023-05-15
 */
public interface AdvimgService extends IService<Advimg> {

    //广告图详情
    Result advimgDetail(Integer id);

    //广告图删除
    Result advimgDelete(Integer id);

    //广告图列表-分页查询
    Result pageList(AdvimgPageDTO advimgPageDTO);

    //广告图修改
    Result advimgUpdate(AdvimgDTO advimgDTO);

    //广告图添加
    Result advimgAdd(AdvimgDTO advimgDTO);
}
